package com.cq.hd.product.api;

import com.cq.hd.common.response.Result;
import com.cq.hd.product.api.vo.ActiveStepPriceVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "hd-o2o-product-service", contextId = "active-step-price-api")
public interface TbActiveStepPriceApi {

    // 根据活动id批量查询活动阶梯价格数据
    @PostMapping("/product/activeStepPrice/listByActiveIds")
    Result<List<ActiveStepPriceVo>> listByActiveIds(@RequestBody List<Long> activeId);

}
